// components/menu-item/menu-item.js
Component({
    properties: {
        itemData:{
            type:Object,
            value:{}
        }
    },
    methods:{
        onMenuItemTap() {
            const id = this.properties.itemData.id
            wx.navigateTo({
              url: `/packageSong/pages/detail-song/detail-song?type=menu&id=${id}`,
            })
        }
    }
})
